package com.zt.config;

import io.minio.MinioClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ConfigMinioClient {
    @Bean
    public MinioClient minioClient(){
         return MinioClient.builder().credentials("xiaomin1314minioadmin","xiaomin1314minioadmin")
                .endpoint("http://101.200.154.121:19000")
                .build();
    }
}
